<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form name="shipping">
        <fieldset><legend>Shipping Method</legend></fieldset>
        <label>
            <input type="radio" name="method" value="1st">
        </label></label>
        <label>
            <input type="radio" name="method" value="2day">
        </label></label>
        <label>
            <input type="radio" name="method" value="overnite">
        </label></label>
    </form>
    <script>
        var methods = document.forms.shipping.elements.method
        console.log(methods)
    </script>
</body>

</html>